package cn.wolfcode.service;


import cn.wolfcode.domain.Student;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentService {

    void saveOrUpdate(Student student,Long[] roleIds);

    void deleteById(Long id);

    Student selStudentById(Long id);

    List<Student> selAll();

    PageInfo<Student> query(QueryObject qo);

    Boolean checkUsername(String username);

    int selectCountStudents(Long roomId);

    Boolean checkRoomPerson(Long roomId);
}
